Schema bimoCommon.v1
Schema bimoCommon.v1 : Typ złożony SplitAddress
Typ złożony SplitAddress
Opis
Niezagregowane dane adresowe
Typ służący do definiowania niezagregowanych danych adresowych
Przestrzeń nazw http://api.big.pl/bimo/v1
Typ podstawowy
Diagram
Element houselocalNumber Element street Element city Element postcode Element country Sequence Typ złożony SplitAddress
Przegląd
SplitAddress Extension of Typ złożony Address
Niezagregowane dane adresowe
Typ służący do definiowania niezagregowanych danych adresowych
Sequence
country Typ prosty countryEnum
Kod kraju
Kod identyfikujący kraj zawarty w adresie.
postcode Typ prosty string10
Kod pocztowy
Kod pocztowy
Powiązane reguły walidacji:

Identyfikator Opis
GR7 Kod pocztowy musi mieć postać "xx-xxx" lub "xxxxx", jeżeli kraj przekazany w danych adresu to Polska
city Typ prosty string40
Miejscowość
Nazwa miejscowości
street optional Typ prosty string50
Ulica
Nazwa ulicy
houselocalNumber Typ prosty string30
Numer domu i lokalu
Numer domu i lokalu
Używany przez
Źródło
<xs:complexType name="SplitAddress" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
      <div class="nazwa pl-PL" xmlns="http://www.w3.org/1999/xhtml">Niezagregowane dane adresowe</div>
      <div class="opis pl-PL" xmlns="http://www.w3.org/1999/xhtml">Typ służący do definiowania niezagregowanych danych adresowych</div>
    </xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="bc:Address">
      <xs:sequence>
        <xs:element name="postcode" type="bc:string10">
          <xs:annotation>
            <xs:documentation>
              <div class="nazwa pl-PL" xmlns="http://www.w3.org/1999/xhtml">Kod pocztowy</div>
              <div class="opis pl-PL" xmlns="http://www.w3.org/1999/xhtml">Kod pocztowy</div>
              <div class="reguly pl-PL" xmlns="http://www.w3.org/1999/xhtml">
                <div class="reguly-tytul pl-PL">Powiązane reguły walidacji:</div>
                <br />
                <table class="zestaw-regul">
                  <tr>
                    <th>Identyfikator</th>
                    <th>Opis</th>
                  </tr>
                  <tr>
                    <td>
                      <a class="regula pl-PL" href="Economic%20informations%20offline%20rules.html#GR7">GR7</a>
                    </td>
                    <td>Kod pocztowy musi mieć postać "xx-xxx" lub "xxxxx", jeżeli kraj przekazany w danych adresu to Polska</td>
                  </tr>
                </table>
              </div>
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="city" type="bc:string40">
          <xs:annotation>
            <xs:documentation>
              <div class="nazwa pl-PL" xmlns="http://www.w3.org/1999/xhtml">Miejscowość</div>
              <div class="opis pl-PL" xmlns="http://www.w3.org/1999/xhtml">Nazwa miejscowości</div>
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="street" type="bc:string50" minOccurs="0">
          <xs:annotation>
            <xs:documentation>
              <div class="nazwa pl-PL" xmlns="http://www.w3.org/1999/xhtml">Ulica</div>
              <div class="opis pl-PL" xmlns="http://www.w3.org/1999/xhtml">Nazwa ulicy</div>
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="houselocalNumber" type="bc:string30">
          <xs:annotation>
            <xs:documentation>
              <div class="nazwa pl-PL" xmlns="http://www.w3.org/1999/xhtml">Numer domu i lokalu</div>
              <div class="opis pl-PL" xmlns="http://www.w3.org/1999/xhtml">Numer domu i lokalu</div>
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Zobacz także